<template>
	<view class="mons">
		<view class="box" v-for="l in system.bulletins">
			<view class="time">
				{{l.dCreated}}
			</view>
			<view class="k">
				<view class="title">
					{{l.cTitle}}
				</view>
				<view class="p">
					{{l.bulletinText}}
				</view>
				<navigator url="/pages/user/msgxtn">
					查看详情
					<image src="../../static/img/3/3-36.png" mode="widthFix"></image>
				</navigator>
			</view>
		</view>
	
	</view>
</template>

<script>
	export default {
		name: "",
		components: {

		},
		data() {
			return {
				system: []
			}
		},
		onLoad() {
			var that = this;
			that.$Request.post(
				that.$api.httpApi.user.getDifBulletins + '?token=' + that.$SysCache.get('token') + '&message_type=system',
			).then(res => {
				if (res.code == 200) {
					that.system = res.data

				}
			});
		}

	}
</script>

<style scoped>
	.k {
		background: #fff;
		margin-bottom: 20rpx;
	}

	.title {
		padding: 25rpx 35rpx 25rpx 35rpx;
		border-bottom: 1px solid #eee;
		font-size: 26rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(68, 68, 68, 1);
	}

	.p {
		padding: 25rpx 35rpx 25rpx 35rpx;
		border-bottom: 1px solid #eee;
		font-size: 22rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
		line-height: 38rpx;
	}

	.k navigator {
		padding: 20rpx 35rpx 20rpx 35rpx;
		font-size: 20rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
	}

	.k navigator image {
		float: right;
		width: 11rpx;
		margin-top: 8rpx;
	}

	.box {
		padding-left: 20rpx;
		padding-right: 20rpx;
	}

	.time {
		font-size: 22rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
		padding-bottom: 35rpx;
		padding-top: 35rpx;
		text-align: center;
	}

	uni-page-body {
		height: 100%;
	}

	.mons {
		min-height: 100%;
		background: #EEEEEE;
	}

	.both {
		display: block;
		clear: both;
	}
</style>
